MPHB\Advanced\Api\Data\PaymentData S

Total Complexity 42
Dependencies 8
Dependents 2
Total lines 321
Lines of code 251
Logical lines of code 81
Comment lines 28
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
getProperties()
S
36 1 110
save()
S
63 5 11
setDataToEntity()
S
56 3 19
isBookingPaid()
S
61 3 11
saveBillingInfo()
S
64 3 9
isNeedChangeBookingStatusByPayment()
S
68 3 7
getBillingInfo()
S
64 3 10
setBillingInfo()
S
70 2 6
getGatewayMode()
S
67 2 8
validate()
S
68 2 7
getAvailablePaymentStatuses()
S
65 2 9
getDateExpirationUtc()
S
75 2 4
getDateExpirationValue()
S
66 2 8
getDateExpiration()
S
74 2 4
getDefaultPaymentStatus()
S
74 1 4
setStatus()
S
76 1 4
getStatus()
S
75 1 4
changeBookingStatusToConfirmedByPayment()
S
72 1 5
getBillingInfoField()
S
77 1 3
getRepository()
S
80 1 3
getAvailableGatewayIds()
S
72 1 5